package com.shujia.connectionPool;

import java.sql.Connection;

public class ConnectionPoolManager {

    static final ConnectionPool connectionPool = new ConnectionPoolImpl(new ConnectionPoolConfig());

    public static Connection getConnection() {
        return connectionPool.getConnection();
    }

    public static void releaseConnection(Connection connection) {
        connectionPool.releaseConnection(connection);
    }

}
